package com.itheima.pojo.jo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
public class UserInformation {
    private String email;
    private String address;
    private String username;
    private String realName;
    private String headUrl;
    private Integer sex;
    private String mobile;
    private String updater;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateDate;
}
